package main

import (
	"go_gateway/cmd"
	_ "go_gateway/forward_proxy"
	_ "go_gateway/http_proxy_router"
	_ "go_gateway/tcp_proxy_router"
)

func main() {
	// listen := flag.String("port", "8083", "listen port")
	// name := flag.String("name", "tcp_proxy", "proxy name")
	// host := flag.String("host", "127.0.0.1:9999", "proxy to ip:port")
	// flag.Parse()
	// go tcp_proxy_router.TcpServerRun(*name, *listen, *host)
	// fmt.Printf("%s [%s ]running listen Port[%s] to Host [%s]\n", os.Args[0], *name, *listen, *host)
	cmd.Run()
	// quit := make(chan os.Signal)
	// signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM)
	// <-quit
}
